package com.ymatou.iapi.godmch.parameter;
import java.math.BigDecimal;

import com.ymt.base.BaseBean;
/**
*新增代理类型Bean
*FreeMaker Template自动生成代码
*/
public class createagentBean extends BaseBean{
	private String nickName;
	
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	/**商户id*/
	private int mchId;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#mchId
	 */
	public int getMchId(){
 
		return mchId;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#mchId
	 */
	public void setMchId(int mchId){
 
		this.mchId = mchId;
 
	}
	/**代理类型标题*/
	private String title;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#title
	 */
	public String getTitle(){
 
		return title;
 
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#title
	 */
	public void setTitle(String title){
 
		this.title = title;
 
	}
	
	
	
	
	/**代理类型标题*/
	private String remark;
  	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#remark
	 */
	public String getRemark(){
		return remark;
	}
 	/**
	 * @see com.ymatou.iapi.godmch.parameter.createagentBean#title
	 */
	public void setRemark(String remark){
		this.remark = remark;
	}
	
	
	
	
	/**拆扣，可为空．例子：9折为0.9，85折为0.85，null和0代表没有折扣*/
	private BigDecimal discount;
	public BigDecimal getDiscount(){
		return discount;
	}
	public void setDiscount(BigDecimal discount){
		this.discount = discount;
	}
	
	
	/**返佣比例，agentMode = 分销小店有效，其它场景设置为 0*/
	private BigDecimal rebateRate;
	public BigDecimal getRebateRate(){
		return rebateRate;
	}
	public void setRebateRate(BigDecimal rebateRate){
		this.rebateRate = rebateRate;
	}
	
	/**代理模式 1 - 自主选货（分销代理）2 - 自动继承（分销小店）*/
	private Integer agentMode;
	public Integer getAgentMode(){
		return agentMode;
	}
	public void setAgentMode(Integer agentMode){
		this.agentMode = agentMode;
	}
}
